interface EnumOption {
  id: number | string;
  desc: string;
  portUrl: string;
  maintain: boolean;
  isEdit: boolean;
  allowLogin: boolean;
  route: string

}
const RoleEnum: { [key: string]: EnumOption } = {
  accessDocotr: {
    id: '1',
    desc: '查阅权限医生',
    portUrl: 'primary',
    maintain: false,
    isEdit: false,
    allowLogin: false,
    route: ''
  },
  checkDocotr: {
    id: '2',
    desc: '基层检查医生',
    portUrl: 'primary',
    maintain: false,
    isEdit: true,
    allowLogin: false,
    route: ''
  },
  consulateDoctor: {
    id: '3',
    desc: '会诊医生/质控医生',
    portUrl: 'consulate',
    maintain: false,
    isEdit: true,
    allowLogin: true,
    route: '/manageQc'
  },
  auditDoctor: {
    id: '4',
    desc: '审核医生',
    portUrl: 'consulate',
    maintain: false,
    isEdit: true,
    allowLogin: false,
    route: ''
  },
  administrators: {
    id: '6',
    desc: '医院管理员',
    portUrl: 'consulate',
    maintain: false,
    isEdit: false,
    allowLogin: true,
    route: '/managePrimary'
  },
  operateAdmin: {
    id: '8',
    desc: '运维管理员',
    portUrl: 'consulate',
    maintain: true,
    isEdit: false,
    allowLogin: false,
    route: ''
  },

  statist: {
    id: '9',
    desc: '统计医生',
    portUrl: 'primary',
    maintain: false,
    isEdit: false,
    allowLogin: false,
    route: ''
  },
  area: {
    id: '7',
    desc: '区域管理员',
    portUrl: 'consulate',
    maintain: false,
    isEdit: false,
    allowLogin: false,
    route: ''
  },
  qcAdmin: {
    id: '10',
    desc: '质控管理员',
    portUrl: 'consulate',
    maintain: false,
    isEdit: false,
    allowLogin: true,
    route: '/manageQc'
  }
}
export { RoleEnum }